# -*- conding:UTF-8 -*-

'''
@ Project: one-group
@ File: migrate.py
@ Author: 孙博
@ Date：2022/6/8 19:19

'''
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from models import db
from models.user import *
from main import app


manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)

if __name__ == '__main__':
    manager.run()